#include <iostream>
#include <cmath>

using namespace std;

class QuadraticEquation {
public:
    // FIXME: 参数a,b,c最好是double类型
	QuadraticEquation(int a, int b, int c) : E_a(a), E_b(b), E_c(c){
	}
	
	void solve() {
		int delta = (E_b * E_b) - (4 * E_a*E_c);
		if (delta > 0)
		{
			double x1, x2;
			x1 = ((-E_b + sqrt(delta)) / (2 * E_a));
			x2 = ((-E_b - sqrt(delta)) / (2 * E_a));
			if (x1 < x2)
				cout << "有两个不相等实根" << endl  << x1<< endl<< x2 << endl;
			else
				cout << "有两个不相等实根" << endl << x2 << endl<< x1 << endl;
		}
		else if (delta = 0)
		{
			cout << "有两个相等实根" << endl << (float)(-E_b - sqrt(delta)) / (2 * E_a) << endl;
		}
		else if (delta < 0)
		{
			cout << "有一对共轭复根" << endl;
		}
		else if (E_a == 0 && E_b == 0 || E_c != 0)
		{
			cout << "有一对共轭复根" << endl;
		}
		else if (E_a == 0 && E_b == 0 & E_c == 0)
		{
			cout << "有无穷个解" << endl;
		}
		else if (E_a == 0 &&E_b != 0)
		{
			cout << "有一个解" <<  (float)- (E_c / E_b) << endl;
		}
	}
	
private:
	int E_a, E_b, E_c;
};

int main() {
	int a, b, c;
	cin >> a >> b >> c;
	
	QuadraticEquation tmp(a, b, c);
	tmp.solve();
	
	return 0;
}

